import {BasicPageParams} from '@/api/model/baseModel';
import {roleAuthUserCancel} from "@/api/system/role";

export type roleListParams = BasicPageParams & {
  roleName?: String,
  roleKey: String,
  status?: Number,
  beginTime?: string;
  endTime?: string;
};


export type rolePostParams = {
  roleName?: String,
  roleKey: String,
  roleSort?: String | Number,
  status?: String | Number,
  menuIds?: Number[],
  deptIds?: Number[] | String[],
  menuCheckStrictly?: Boolean,
  deptCheckStrictly?: Boolean,
  remark?: String,
};

export type allocatedListParams = BasicPageParams & {
  roleId: Number | String,
  userName?: String,
  phonenumber?: String,
};


export type roleAuthUserCancelParams = {
  userId: Number | String,
  roleId: Number | String,
};


export type roleAuthAllParams = {
  userIds:String,
  roleId: Number | String,
}



